package com.example.lishop.service

import com.example.lishop.entity.BBusinessEntity
import com.example.lishop.vo.BusinessDetailVo
import org.springframework.data.domain.Page

/**
 * Created on 2021/3/14 17:58
 * @author shuguo
 */
interface BusinessService {
    fun add(data:BBusinessEntity):BBusinessEntity
    fun update(data:BBusinessEntity)
    fun del(data: BBusinessEntity)
    fun list (page:Int, size:Int): Page<BBusinessEntity>
    fun detail(data: BBusinessEntity): BBusinessEntity?
    fun detailAll(data: BBusinessEntity): BusinessDetailVo
}